ComponentOne ASP.NET MVC Controls
IsRequired Method (DropDownBuilder<TControl,TBuilder>)

C1.Web.Mvc.Fluent Namespace > DropDownBuilder<TControl,TBuilder> Class : IsRequired Method
The value.
Configurates C1.Web.Mvc.DropDown.IsRequired. Sets a value indicating whether the control value must be a non-empty string.
Syntax
'Declaration
 
Public Overridable Function IsRequired( _
   ByVal value As Boolean _
) As TBuilder
public virtual TBuilder IsRequired( 
   bool value
)

Parameters

value
The value.

Return Value

Current builder.
See Also

Reference

DropDownBuilder<TControl,TBuilder> Class
DropDownBuilder<TControl,TBuilder> Members